]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Fix switched arguments
authorIvan Molodetskikh <yalterz@gmail.com>
Wed, 3 Mar 2021 15:02:03 +0000 (18:02 +0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Mar 2021 15:08:17 +0000 (15:08 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1738>

js/ui/workspace.js

index ec08b7355a2919128b923d8d21227e614bba982e..a21b5b43ca46deca4641352d8a8632e0d304c1ad 100644 (file)
@@ -465,7 +465,7 @@ var WorkspaceLayout = GObject.registerClass({
 
     _adjustSpacingAndPadding(rowSpacing, colSpacing, containerBox) {
         if (this._sortedWindows.length === 0)
-            return [colSpacing, rowSpacing, containerBox];
+            return [rowSpacing, colSpacing, containerBox];
 
         // All of the overlays have the same chrome sizes,
         // so just pick the first one.